﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Event
{
	public class MyEventEntity : DataEntity
	{
		public int EventSN { get { return GetData2("n4EventSN", (int)0); } }
		public DateTime EventStart { get { return GetData2("dtEventStart", DateTime.MinValue); } }
		public DateTime EventEnd { get { return GetData2("dtEventEnd", DateTime.MinValue); } }
		public DateTime PublicationDate { get { return GetData2("dtPublicationDate", DateTime.MinValue); } }
		public string ImageUrl { get { return GetData2("strImageUrl", string.Empty); } }
		public string BigImageUrl { get { return GetData2("strBigImageUrl", string.Empty); } }
		public string Title { get { return GetData2("strTitle", string.Empty); } }
		public string Content { get { return GetData2("strContent", string.Empty); } }
		public bool isShow { get { return GetData2("isShow", true); } }
		public int TotalCommentCount { get { return GetData2("n4TotalCommentCount", (int)0); } }
		public int ParticipationCount { get { return GetData2("n4ParticipationCount", (int)0); } }
		public int UniqueUserCount { get { return GetData2("n4UniqueUserCount", (int)0); } }
		public DateTime CreateDate { get { return GetData2("dtCreateDate", DateTime.MinValue); } }
		public string strManagerName { get { return GetData2("strManagerName", string.Empty); } }

		public DateTime ModifyDate { get { return GetData2("dtModifyDate", DateTime.MinValue); } }
		public int EventUserSN { get { return GetData2("n4EventUserSN", (int)0); } }
	}
}
